package com.zxl.prototype.type3;
/**
 * ԭ��
 * @author zxl
 * 2016��7��8��
 */
public class Prototype implements Cloneable{
	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public Object clone(){
		try {
			//ʵ��Cloneable  ʹ�û���clone����
			return super.clone();
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
			return null;
		}
	}
}


